package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品库存对象 tb_product_inventory
 * 
 * @author ruoyi
 * @date 2024-09-11
 */
public class TbProductInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存ID */
    private Long inventoryId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long merchantId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long storeId;

    /** 店铺名 */
    @Excel(name = "店铺名")
    private String storeName;


    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;



    /** 商品名 */
    @Excel(name = "商品名")
    private String productName;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long inventoryNum;

    public void setInventoryId(Long inventoryId) 
    {
        this.inventoryId = inventoryId;
    }

    public Long getInventoryId() 
    {
        return inventoryId;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setInventoryNum(Long inventoryNum) 
    {
        this.inventoryNum = inventoryNum;
    }

    public Long getInventoryNum() 
    {
        return inventoryNum;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    @Override
    public String toString() {
        return "TbProductInventory{" +
                "inventoryId=" + inventoryId +
                ", merchantId=" + merchantId +
                ", storeName='" + storeName + '\'' +
                ", productId=" + productId +
                ", productName=" + productName +
                ", inventoryNum=" + inventoryNum +
                ", storeId=" + storeId +
                '}';
    }
}
